Fix Toolbar styling to be self-contained without PrimeReact theme dependency#8
Draft
Fix Toolbar styling to be self-contained without PrimeReact theme dependency#8
Conversation
…ailwind classes The Toolbar component previously relied on PrimeReact CSS variables (--surface-card, --surface-border, --text-color-secondary, etc.) from the lara-dark-blue theme. Consumers using a different theme or no PrimeReact theme would see an invisible container (transparent background, no border). Replace all CSS variable-based styles with hardcoded Tailwind utility classes (bg-gray-800, border-white/10, text-gray-400, etc.) so the toolbar renders consistently regardless of the consumer's theme setup. Co-authored-by: einari <134365+einari@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix toolbar styling for consistent consumer experience
Fix Toolbar styling to be self-contained without PrimeReact theme dependency
Feb 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Toolbar visual styles were driven entirely by PrimeReact CSS variables (
--surface-card,--surface-border,--text-color-secondary, etc.). Without thelara-dark-bluetheme, these resolve to nothing — the container becomes invisible and buttons lose all color treatment.Fixed
bg-gray-800,border-white/10,text-gray-400,hover:bg-gray-700,bg-blue-600, etc.) so the component renders consistently regardless of the consumer's PrimeReact theme setupToolbar.cssretains only animation/transition rules that cannot be expressed as Tailwind utilities (section morphing, fan-out clip-path reveal); all color declarations now use hardcoded values matchingbg-gray-800/border-white/10Toolbar.cssimport fromToolbar.tsxtoToolbarSection.tsxandToolbarFanOutItem.tsx— the only components that still depend on itOriginal prompt
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.